{% extends "layout.html" %}

{% block title %}Products{% endblock %}

{% block body %}
<h1>Products</h1>
<p>The list of all products</p>
<ul class="products">
    {% for product in products %}
        <li>
            <a href="{{ url_for("show_product", product_id=product.id) }}">
                {{ product.name }}</a>
        </li>
    {% endfor %}
</ul>
{% endblock %}
